package com.platform.qujia.enums;

import com.platform.qujia.constantEnum.KeyValueable;

/**
 * @date 2023/8/23
 */
public enum PayWayUseTypeEnum implements KeyValueable<Integer> {

    RECHARGE("充值",0),
    CONSUME("消费",1),

    ;

    PayWayUseTypeEnum(String key, Integer value) {
        this.key = key;
        this.value = value;
    }

    private String key;
    private Integer value;

    @Override
    public Integer getValue() {
        return value;
    }

    @Override
    public String getKey() {
        return key;
    }
}
